package com.zmn.oms.services.interfaces.conf.ordertag;

import com.zmn.oms.model.entity.conf.ordertag.ConfOrderTag;
import com.zmn.oms.model.entity.conf.ordertag.ConfOrderTagQuery;
import com.zmn.oms.model.vo.conf.checkout.ConfCheckoutVO;
import com.zmn.oms.model.vo.conf.ordertag.ConfOrderTagVO;

import java.util.List;

/**
 * 类描述：
 *
 * @author liuying
 * @date 2021/05/06 16:53
 */
public interface ConfOrderTagService {

    /**
     * 查询配置
     *
     * @param query
     * @return
     */
    List<ConfOrderTag> listByQuery(ConfOrderTagQuery query);

    /**
     * 分页查询
     *
     * @return
     */
    List<ConfOrderTag> listPageByQuery(ConfOrderTagQuery query);

    /**
     * 查询数量
     *
     * @param query
     * @return
     */
    int countByQuery(ConfOrderTagQuery query);

    /**
     * 根据ID 查询
     *
     * @param id
     * @return
     */
    ConfOrderTag findConfById(Integer id);

    /**
     * 根据ID集合 查询
     *
     * @param idList
     * @return
     */
    List<ConfOrderTag> findConfByIdList(List<Integer> idList);

    /**
     * 修改
     *
     * @param confOrderTag
     */
    void updateConfById(ConfOrderTag confOrderTag);

    /**
     * 新增
     *
     * @param confOrderTag
     */
    Integer insertConf(ConfOrderTag confOrderTag);

}
